﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IMODELS
{
    public interface IManageShip
    {
        /// <summary>
        /// 添加配送方式
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
         bool AddShip(MODEL.MEms model);
        /// <summary>
        /// 修改配送方式
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
         bool UpdateShip(MODEL.MEms model);
        /// <summary>
        /// 删除配送方式
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
         bool DelShip(string id);
        /// <summary>
        /// 查询配送方式分页
        /// </summary>
        /// <param name="start"></param>
        /// <param name="limit"></param>
        /// <param name="fiter"></param>
        /// <returns></returns>
         string AllShip(string start, string limit, string fiter);
        /// <summary>
        /// 查询一条配送方式
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
         string GetShipById(string id);
    }
}
